package cn.edu.cdu.farmdeal.mapper;

import cn.edu.cdu.farmdeal.domain.CartShopPro;
import cn.edu.cdu.farmdeal.domain.CartShopProExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper

public interface CartShopProMapper {


    int countByExample(CartShopProExample example);

    int deleteByExample(CartShopProExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CartShopPro record);

    int insertSelective(CartShopPro record);

    List<CartShopPro> selectByExample(CartShopProExample example);

    CartShopPro selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CartShopPro record, @Param("example") CartShopProExample example);

    int updateByExample(@Param("record") CartShopPro record, @Param("example") CartShopProExample example);

    int updateByPrimaryKeySelective(CartShopPro record);

    int updateByPrimaryKey(CartShopPro record);
}